#pragma once

#include "Utils.h"

// CChooseDevice dialog

class CChooseDeviceDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CChooseDeviceDlg)

public:
	CChooseDeviceDlg(CWnd* pParent = nullptr);   // standard constructor
	virtual ~CChooseDeviceDlg();

	void SetDeviceParam(ChooseDeviceParam* pParam) { m_pParam = pParam; }
	ChooseDeviceParam* GetDeviceParam() const { return m_pParam; }

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_CHOOSE_DEVICE };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

protected:
	afx_msg void OnBnClickedOk();

	DECLARE_MESSAGE_MAP()

protected:
	ChooseDeviceParam* m_pParam;
	CListBox m_listDevice;	
};
